package com.stylefeng.guns.rest.modular.DTO;
import com.stylefeng.guns.rest.validater.Search;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.Date;
@Data
@ApiModel(value = "线路排版查询实体",description = "线路排版查询dto")
public class LineTImeSlot {
    @ApiModelProperty(value = "otCode CJ 城际  JC 机场 默认 CJ")
    @NotNull(message = "线路类型不能为空",groups = Search.class)
    private String  otCode;//CJ 城际  JC 机场
    @ApiModelProperty(value = "线路ID")
    @NotNull(message = "线路ID不能为空",groups = Search.class)
    private String olId;//线路ID
   /* @NotNull(message = "发车日期不能为空",groups = Search.class)*/
    private Date ltsDate;//发车日期
    @ApiModelProperty(value = "创建者")
    private String createUser;
}
